package org.jeecg.modules.sistersophie.facade;

import org.jeecg.modules.sistersophie.entity.CourseStudentInfo;
import org.jeecg.modules.sistersophie.model.dto.CourseStudentDTO;
import org.jeecg.modules.sistersophie.model.request.CourseAddStudentRequest;
import org.jeecg.modules.sistersophie.model.vo.CourseStudentSearchVO;

import java.util.List;

public interface CourseStudentFacade {

    void addStudent(CourseAddStudentRequest addStudentRequest);

    List<CourseStudentDTO> selectInvoiceCourseStudent(CourseStudentSearchVO searchVO);

    CourseStudentInfo selectById(Integer id);

    void updateInfo(CourseStudentInfo info);

    List<CourseStudentInfo> selectByInvoiceId(Integer invoiceId,Integer payStatus);

    int selectCourseStudentCount(Integer courseId);

    int selectCourseCountByStudent(Integer studentId);

    void deleteCourseStudent(String id);

}
